\hypertarget{duye__shm_8h}{\section{Z\-:/duye/src/duyebase/system/duye\-\_\-shm.h File Reference}
\label{duye__shm_8h}\index{Z\-:/duye/src/duyebase/system/duye\-\_\-shm.\-h@{Z\-:/duye/src/duyebase/system/duye\-\_\-shm.\-h}}
}
{\ttfamily \#include $<$sys/mman.\-h$>$}\\*
{\ttfamily \#include $<$sys/types.\-h$>$}\\*
{\ttfamily \#include $<$fcntl.\-h$>$}\\*
{\ttfamily \#include $<$unistd.\-h$>$}\\*
{\ttfamily \#include $<$string.\-h$>$}\\*
{\ttfamily \#include $<$duye\-\_\-type.\-h$>$}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classduye_1_1_shm}{duye\-::\-Shm}
\begin{DoxyCompactList}\small\item\em shared memory for ipc \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum {\bfseries Shm\-Error\-Code} \{ \\*
{\bfseries duye\-::\-O\-P\-E\-N\-\_\-\-S\-H\-M\-\_\-\-F\-A\-I\-L\-E\-D} = -\/2, 
{\bfseries duye\-::\-M\-U\-N\-M\-A\-P\-\_\-\-S\-H\-M\-\_\-\-F\-A\-I\-L\-E\-D} = -\/3, 
{\bfseries duye\-::\-M\-M\-A\-P\-\_\-\-S\-H\-M\-\_\-\-F\-A\-I\-L\-E\-D} = -\/4, 
{\bfseries duye\-::\-S\-Y\-N\-C\-\_\-\-S\-H\-M\-\_\-\-F\-A\-I\-L\-E\-D} = -\/5, 
\\*
{\bfseries duye\-::\-W\-R\-I\-T\-E\-\_\-\-S\-H\-M\-\_\-\-P\-A\-R\-A\-\_\-\-F\-A\-I\-L\-E\-D} = -\/6, 
{\bfseries duye\-::\-R\-E\-A\-D\-\_\-\-S\-H\-M\-\_\-\-P\-A\-R\-A\-\_\-\-F\-A\-I\-L\-E\-D} = -\/7, 
{\bfseries duye\-::\-S\-H\-M\-\_\-\-N\-O\-\_\-\-I\-N\-I\-T} = -\/8, 
{\bfseries duye\-::\-S\-H\-M\-\_\-\-P\-A\-T\-H\-\_\-\-E\-M\-P\-T\-Y} = -\/9
 \}
\begin{DoxyCompactList}\small\item\em shm error code \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyAuthor}{Author}
duye 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2014-\/02-\/22 
\end{DoxyDate}
\begin{DoxyNote}{Note}

\end{DoxyNote}

\begin{DoxyEnumerate}
\item 2014-\/06-\/20 duye move to gohoop project
\end{DoxyEnumerate}
\begin{DoxyEnumerate}
\item 2014-\/02-\/22 duye Created this file 
\end{DoxyEnumerate}